/**Filename: instruction.h
 * Author(s): Vladimir Dudnic, Michael Groenier, Derek Fleener
 * Winter 2013 TCSS422
 * Project 2
 */

#ifndef INSTRUCTION_H
#define INSTRUCTION_H

typedef enum InstructionType{
  IO_REQ,
  MEM_UP,
  MEM_DN,
  DUMB_INST
}InstructionType;

typedef struct Instruction{
  /**
   * The type of the instruction.
   */
  InstructionType type;
  /**
   * An argument to specify what the instruction is asking for such as a memory address or hardware device.
   */
  int arg;
}Instruction;

#endif

